//
//  TextModel.m
//  XIWenLeJian
//
//  Created by lanou3g on 15/11/17.
//  Copyright © 2015年 蓝足. All rights reserved.
//

#import "TextModel.h"

#define TextFont [UIFont systemFontOfSize:15]

@implementation TextModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        
        self.name = dict[@"name"];
        self.create_time = dict[@"create_time"];
        self.profile_image = dict[@"profile_image"];
        self.text = dict[@"text"];
        self.love = dict[@"love"];
        self.hate = dict[@"hate"];
        
    }
    return self;
}

+ (instancetype)textModelWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}

@end
